<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QMicrophone: QMicrophone Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<h1>QMicrophone Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QMicrophone" -->
<p><a href="class_q_microphone-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_microphone.html#ad759f3f9993a344af5847a459d859cd8">startRecording</a> (QString name, int time=-1)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">start recording  <a href="#ad759f3f9993a344af5847a459d859cd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae06e1587f6156713e998361237aef04a"></a><!-- doxytag: member="QMicrophone::stopRecording" ref="ae06e1587f6156713e998361237aef04a" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_microphone.html#ae06e1587f6156713e998361237aef04a">stopRecording</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stop recording <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46faca5dc8df588ab946fb3551618173"></a><!-- doxytag: member="QMicrophone::startVolumeAnalysis" ref="a46faca5dc8df588ab946fb3551618173" args="(int time=&#45;1)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>startVolumeAnalysis</b> (int time=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb37963650c3011c99aa3cec8d1f79e6"></a><!-- doxytag: member="QMicrophone::stopVolumeAnalysis" ref="aeb37963650c3011c99aa3cec8d1f79e6" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>stopVolumeAnalysis</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3af2c5c2a1239ab96d790c778ef4aa9"></a><!-- doxytag: member="QMicrophone::microphoneStateChanged" ref="aa3af2c5c2a1239ab96d790c778ef4aa9" args="(QAudio::State)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>microphoneStateChanged</b> (QAudio::State)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f8b4b1e2beece0e225dd5c8ecf4c4a7"></a><!-- doxytag: member="QMicrophone::volumeManagerStateChanged" ref="a5f8b4b1e2beece0e225dd5c8ecf4c4a7" args="(QAudio::State)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>volumeManagerStateChanged</b> (QAudio::State)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38c6d060ed3f61217b938ebc8a59bdfd"></a><!-- doxytag: member="QMicrophone::play" ref="a38c6d060ed3f61217b938ebc8a59bdfd" args="(QString name)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>play</b> (QString name)</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a5b1053977a6db4c8ef69655e8e85a0"></a><!-- doxytag: member="QMicrophone::recordingStarted" ref="a4a5b1053977a6db4c8ef69655e8e85a0" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>recordingStarted</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5219eef1849ed8cfdd098e1d95e0ebb3"></a><!-- doxytag: member="QMicrophone::recordingStopped" ref="a5219eef1849ed8cfdd098e1d95e0ebb3" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>recordingStopped</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a381dec13f5cfa5758d3796594466bbf3"></a><!-- doxytag: member="QMicrophone::volumeAnalysisStarted" ref="a381dec13f5cfa5758d3796594466bbf3" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>volumeAnalysisStarted</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91d8e1f167eebfc9a54b2a3d49578595"></a><!-- doxytag: member="QMicrophone::volumeAnalysisStopped" ref="a91d8e1f167eebfc9a54b2a3d49578595" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>volumeAnalysisStopped</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a577d2e9d550b6f88d06a71ec90840a10"></a><!-- doxytag: member="QMicrophone::stateChanged" ref="a577d2e9d550b6f88d06a71ec90840a10" args="(QAudio::State)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>stateChanged</b> (QAudio::State)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39fd27e9161e3ae830c0dcc960ce9c56"></a><!-- doxytag: member="QMicrophone::thresholdExceeded" ref="a39fd27e9161e3ae830c0dcc960ce9c56" args="(int volume)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>thresholdExceeded</b> (int volume)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a580021532ee28e7c4d90ce7568953e8f"></a><!-- doxytag: member="QMicrophone::clap" ref="a580021532ee28e7c4d90ce7568953e8f" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>clap</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4bd58ac95c74094aff66e73f2a8975b3"></a><!-- doxytag: member="QMicrophone::QMicrophone" ref="a4bd58ac95c74094aff66e73f2a8975b3" args="(QObject *parent=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>QMicrophone</b> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a553753a77b098d807af3fc25fca67c67"></a><!-- doxytag: member="QMicrophone::supportedCodecs" ref="a553753a77b098d807af3fc25fca67c67" args="()" -->
Q_INVOKABLE QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><b>supportedCodecs</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a760ea8c1090d8fe28c63695bd7b90d26"></a><!-- doxytag: member="QMicrophone::statusString" ref="a760ea8c1090d8fe28c63695bd7b90d26" args="()" -->
Q_INVOKABLE QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>statusString</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8928a2f6eab73021d90036789ff67026"></a><!-- doxytag: member="QMicrophone::isRecording" ref="a8928a2f6eab73021d90036789ff67026" args="()" -->
Q_INVOKABLE bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isRecording</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d28c5a09e57e4077f7c008b6f8ddc44"></a><!-- doxytag: member="QMicrophone::threshold" ref="a8d28c5a09e57e4077f7c008b6f8ddc44" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>threshold</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2eef3c4faebac8c8d774301e84cc1d50"></a><!-- doxytag: member="QMicrophone::setThreshold" ref="a2eef3c4faebac8c8d774301e84cc1d50" args="(int value)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setThreshold</b> (int value)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a656403f7d9f2f920d568a49451c12f1c"></a><!-- doxytag: member="QMicrophone::DataFrequencyHzInput" ref="a656403f7d9f2f920d568a49451c12f1c" args="" -->
static const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>DataFrequencyHzInput</b> = 48000</td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91d3797a3707c95f5479e52bd58e1f37"></a><!-- doxytag: member="QMicrophone::threshold" ref="a91d3797a3707c95f5479e52bd58e1f37" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>threshold</b></td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad759f3f9993a344af5847a459d859cd8"></a><!-- doxytag: member="QMicrophone::startRecording" ref="ad759f3f9993a344af5847a459d859cd8" args="(QString name, int time=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QMicrophone::startRecording </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>time</em> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start recording </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>where file recorded is stored </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>recording in milliseconds </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="qmicrophone_8h_source.html">qmicrophone.h</a></li>
<li>qmicrophone.cpp</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Wed Apr 11 2012 15:12:17 for QMicrophone by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
